#pragma once
#include "Tools/XType.h"
#include "GameRes/ContractionMLG.h"
#include "GameRes/AniData.h"

namespace LTGame
{

	class   Animation 
	{
	public:
		Animation(void);
		virtual ~Animation(void);

		Animation(const char * name);
		Animation(AnimationData * data);

	public:
		AnimationData  * getAnimationData();
		ContractionMLG* getMLG(int MLGID);
		void getMLGFlag( long* flag );

	public:
		static ContractionMLG**  aniMLGs;
		static void setAniMLGs(ContractionMLG** animMLGs);

	public:
		AnimationData * aniData;
	};
}
